package 软件开发原则.接口隔离原则.after;

public class Client {
    public static void main(String[] args) {
        //黑马安全门对象
        HeimaSafetyDoor door=new HeimaSafetyDoor();
        door.antiThief();
        door.fireProof();
        door.waterProof();

        System.out.println("--------------------");
        //传智安全门对象
        ItcastSafetyDoor door1=new ItcastSafetyDoor();
        door1.antiThief();
        door1.fireProof();
    }
}
